
export function timeFormat(seconds) {
    let durationMinutes = Math.floor(seconds / 60);
    let durationSeconds = Math.floor(seconds - durationMinutes * 60);
    if (durationMinutes < 10) {
        durationMinutes = `0${durationMinutes}`;
    }
    if (durationSeconds < 10) {
        durationSeconds = `0${durationSeconds}`;
    }
    return `${durationMinutes}:${durationSeconds}`;
}

export function audioPlay() {

}
